package product

import (
	"context"
	"devops-super/api/product/v1"
)

// IDeviceGroupV1 设备分组管理接口
type IDeviceGroupV1 interface {
	GetPageLst(ctx context.Context, req *v1.DeviceGroupGetPageLstReq) (res *v1.DeviceGroupGetPageLstRes, err error)
	Add(ctx context.Context, req *v1.DeviceGroupAddReq) (res *v1.DeviceGroupAddRes, err error)
	Upt(ctx context.Context, req *v1.DeviceGroupUptReq) (res *v1.DeviceGroupUptRes, err error)
	Del(ctx context.Context, req *v1.DeviceGroupDelReq) (res *v1.DeviceGroupDelRes, err error)
	GetOne(ctx context.Context, req *v1.DeviceGroupGetOneReq) (res *v1.DeviceGroupGetOneRes, err error)
	GetOptions(ctx context.Context, req *v1.DeviceGroupGetOptionsReq) (res *v1.DeviceGroupGetOptionsRes, err error)
}
